<template>
    <div>
        <wx-login :appid="appid" :scope="scope" :state="state" :redirect_uri="redirect_uri"></wx-login>
    </div>
</template>

<script>
import wxLogin from "vue-wxlogin"
export default {
    components: {
        wxLogin
    },
    data() {
        return {
            state: "",
            appid: "wxddcb96a2436274b6",
            scope: "snsapi_login",
            redirect_uri: encodeURIComponent("http://api.synbiochallenges.com/api/wx/get/code")
        }
    }
}
</script>

<style lang="less" scoped>

</style>